<%@ page import="java.util.*" %>
<%@ page import="java.io.*" %>
<%@ page import="java.net.*" %>
<%@ page contentType="text/html;charset=UTF-8" language="java"%>

<%@page import="javax.xml.bind.*"%>
<%@page import="de.schoel.radnetserver.*"%>

<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>RTF und CTF Termine 2011</title>

<link href="radnetserver.css" rel="stylesheet" type="text/css" />

<script type="text/javascript"
	src="http://www.google.com/jsapi?key=ABQIAAAAW2mr1v-YN9ke9cITOqTGSBTtJWApGr_mNYQ03zDcOD7C2Hiq0hSI2bsqAyVmpVpk0v5vwJInYTw2Ow">
</script>

<script type="text/javascript" language="javascript" src="displaymap.js" ></script>
<script>
</script>
<script type="text/javascript" language="javascript" src="accordion.js" >
</script>
</head>
<body>
<div id="myHeader">
<img alt="Rennrad" src="cyclingsport.png" align="top">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;RTF/CTF Finder 2010&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<img alt="Mountainbike" src="mountainbike_green.png" align="top" >
</div>
<div id="myTest">
<div id="mapContainer" align="center">
<form name="searchrtf" action="search.rtf"
 onsubmit="return updateMap(document.forms[0].plz.value);">
<p class="msc">Postleitzahl:<input name="plz" type="text" size="6" maxlength="6">
<input type="button" name="search" title="Suche RTFs im Umkreis von PLZ"
	value="Suchen" onclick="updateMap(this.form.plz.value)"> 
| <input type="checkbox" id="mtb_cb" name="rtfart" checked="checked" value="CTF">MTB&nbsp;<input type="checkbox" id="ctf_cb" name="rtfart" checked="checked" value="RTF">RR<input type="button" name="update"
	title="Aktualisiere den aktuellen Kartenausschnitt" value="Laden"
	onclick="reloadRTF()"></p>
</form>
<div id="map"></div>
<p class="msc">
	<img src="favicon.ico" class="msc_image"/> 
	Kalender:
	<input type="button" id="login" name="login" title="In den eigenen Kalender einloggen."
		value="Login" onclick="logMeIn()">
	<input type="button" id="logout" name="logout" title="Ausloggen!"
		value="Logout" onclick="logMeOut()"> |
	Einstellungen: 
	<input type="button" id="saveconfig" name="saveconfig" title="Kartenmitte als Default speichern"
	value="Speichern" onclick="storeConfiguration()">
	<br />Fehler gefunden? Hier <a href="http://code.google.com/p/rtfdates/issues/list" target="_blank">melden</a>!
	
</p>
<div id="statusbar" style="display: none;"> 
	<div id="statusbar_content"> 
		Loading...</div> 
</div> 
</div>

<div id="output2" class="accordion">
	<div id="test-accordion" class="accordion">
	</div>
</div>
<div id="output" style="display: none;">
	<table id="Tabelle" class="smalltable">
		<colgroup>
			<col width="60">
			<col width="95">
			<col width="145">
			<col width="30">		
			<col width="30">		
			<col width="30">		
		</colgroup>
		<tr>
			<th>Datum</th>
			<th>Ort</th>
			<th>Url</th>
			<th>Cal</th>
			<th>Rou</th>
			<th>Doo</th>
		</tr>
	</table>
</div>
<div id="configuration" style="display: none;">

	<h2>Voreinstellungen</h2>
	Beim Start zentrieren auf aktuelle Position: <br>
	Längengrad: <input id="configLong" type="text"> <br>
	Breitengrad: <input id="configLat" type="text"> <br>
	<br>
	oder
	zentrieren auf PLZ: <br>
	Postleitzahl: <input id="configPlz" type="text"> <br>
	<br>
	<input type="button" id="configSave" name="configsave" title="Konfiguration speichern"
	value="Speichern" onclick="dlgConfiguration.save();">
	<input type="button" id="configCancel" name="configcancel" title="Abbrechen"
	value="Abbrechen" onclick="dlgConfiguration.hide();">
	
</div>
</div>
</body>